package classfile

type ConstantValueAttribute struct {
	attribute_name_index uint16
	attribute_length     uint32
	constantvalue_index  uint16
}

func (self *ConstantValueAttribute) readInfo(reader *ClassReader) {
	self.constantvalue_index = reader.readUint16()
}

func (self *ConstantValueAttribute) ConstantValueIndex() uint16 {
	return self.constantvalue_index
}
